<!DOCTYPE html>
<html>
    <head>
        <title>Mushroom Clasification</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <LINK href="Style.css" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="loadclassification.js"></script>
    </head>
    <body>
        <div class="title">
			Classify Your Mushroom Before Eat!
		</div>
        <button onclick="javascript:window.location='Learning.php'" value="Learning"> Learn New Model </button>
        <button onclick="javascript:window.location='Classification.php'" value="Classification"> Classify </button>
        <button onclick="javascript:window.location='download.php'" value="Allmodel"> List All Model </button>
		<hr>
		<div class="content">
                    <form method="POST" action="result.php" enctype="multipart/form-data">
			<div class="learning">
				<h3>Choose the model :</h3>
                                <select id="model_view" name="model_" onchange="javascript:change()">
                                    <option value="-">-</option>
                                </select>
                                <input id="model_name" name="model_name" type="hidden" value=""/>
                                <h3>Or upload your model</h3>
                                <input type="file" value="browse" name="file" id="Button_browse"/>
                                
			</div>
			<div class="attribute">
				<h3>Choose the attribute to use :</h3>
				<table border="0">
					<tr>
						<td> Cap Shape</td>
						<td><select id="attr0" name="data[0]">
                                                        <option value="?">-</option>
							<option value="b">Bell</option>
							<option value="c">Conical</option>
							<option value="x">Covex</option>
							<option value="f">Flat</option>
							<option value="k">Knobbed</option>
							<option value="s">Sunken</option>
						</select></td>
						<td> Stalk Surface Above Ring</td>
						<td>
                                                <select id="attr11" name="data[11]">
                                                        <option value="?">-</option>
							<option value="f">Fibrous</option>
							<option value="y">Scaly</option>
							<option value="k">Silky</option>
							<option value="s">Smooth</option>
						</select></td>
					</tr><tr>
						<td> Cap Surface</td>
						<td><select id="attr1" name="data[1]">
                                                        <option value="?">-</option>
							<option value="f">Fibrous</option>
							<option value="g">Grooves</option>
							<option value="y">Scaly</option>
							<option value="s">Smooth</option>
						</select></td>
						<td> Stalk Surface Below Ring</td>
						<td><select id="attr12" name="data[12]">
                                                        <option value="?">-</option>
							<option value="f">Fibrous</option>
							<option value="y">Scaly</option>
							<option value="k">Silky</option>
							<option value="s">Smooth</option>
						</select></td>
					</tr><tr>
						<td> Cap Color</td>
						<td><select id="attr2" name="data[2]">
                                                        <option value="?">-</option>
							<option value="n">Brown</option>
							<option value="b">Buff</option>
							<option value="c">Cinnamon</option>
							<option value="g">Gray</option>
							<option value="r">Green</option>
							<option value="p">Pink</option>
							<option value="u">Purple</option>
							<option value="e">Red</option>
							<option value="w">White</option>
							<option value="y">Yellow</option>
						</select></td>
						<td> Stalk Color Above Ring</td>
						<td><select id="attr13" name="data[13]">
							<option value="?">-</option>
                                                        <option value="n">Brown</option>
							<option value="b">Buff</option>
							<option value="c">Cinnamon</option>
							<option value="g">Gray</option>
							<option value="o">Orange</option>
							<option value="p">Pink</option>
							<option value="e">Red</option>
							<option value="w">White</option>
							<option value="y">Yellow</option>
						</select></td>
					</tr><tr>
						<td> Bruises</td>
						<td><select id="attr3" name="data[3]">
							<option value="?">-</option>
                                                        <option value="t">Bruises</option>
							<option value="f">No</option>
						</select></td>
						<td> Stalk Color Below Ring</td>
						<td><select id="attr14" name="data[14]">
							<option value="?">-</option>
                                                        <option value="n">Brown</option>
							<option value="b">Buff</option>
							<option value="c">Cinnamon</option>
							<option value="g">Gray</option>
							<option value="o">Orange</option>
							<option value="p">Pink</option>
							<option value="e">Red</option>
							<option value="w">White</option>
							<option value="y">Yellow</option>
						</select></td>
					</tr><tr>
						<td> Odor</td>
						<td><select id="attr4" name="data[4]">
							<option value="?">-</option>
                                                        <option value="a">Almond</option>
							<option value="l">Anise</option>
							<option value="c">Creosote</option>
							<option value="y">Fishy</option>
							<option value="f">Foul</option>
							<option value="m">Musty</option>
							<option value="n">None</option>
							<option value="p">Pungent</option>
							<option value="s">Spicy</option>
						</select></td>
						<td> Veil Type</td>
						<td><select id="attr15" name="data[15]">
							<option value="?">-</option>
                                                        <option value="p">Partial</option>
							<option value="u">Universal</option>
						</select></td>
					</tr><tr>
						<td> Gill Attachment</td>
						<td><select id="attr5" name="data[5]">
							<option value="?">-</option>
                                                        <option value="a">Attached</option>
							<option value="d">Descending</option>
							<option value="f">Free</option>
							<option value="n">Notched</option>
						</select></td>
						<td> Veil Color</td>
						<td><select id="attr16" name="data[16]">
							<option value="?">-</option>
                                                        <option value="n">Brown</option>
							<option value="o">Orange</option>
							<option value="w">White</option>
							<option value="y">Yellow</option>
						</select></td>
					</tr><tr>
						<td> Gill Spacing</td>
						<td><select id="attr6" name="data[6]">
							<option value="?">-</option>
                                                        <option value="c">Close</option>
							<option value="w">Crowded</option>
							<option value="d">Distant</option>
						</select></td>
						<td> Ring Number</td>
						<td><select id="attr17" name="data[17]">
							<option value="?">-</option>
                                                        <option value="n">None</option>
							<option value="o">One</option>
							<option value="t">Two</option>
						</select></td>
					</tr><tr>
						<td> Gill Size</td>
						<td><select id="attr7" name="data[7]">
							<option value="?">-</option>
                                                        <option value="b">Broad</option>
							<option value="n">Narrow</option>
						</select></td>
						<td> Ring Type</td>
						<td><select id="attr18" name="data[18]">
							<option value="?">-</option>
                                                        <option value="c">Cobwebby</option>
							<option value="e">Evanescent</option>
							<option value="f">Flaring</option>
							<option value="l">Large</option>
							<option value="n">None</option>
							<option value="p">Pendant</option>
							<option value="s">Sheathing</option>
							<option value="z">Zone</option>
						</select></td>
					</tr><tr>
						<td> Gill Color</td>
						<td><select id="attr8" name="data[8]">
							<option value="?">-</option>
                                                        <option value="k">Black</option>
							<option value="n">Brown</option>
							<option value="b">Buff</option>
							<option value="h">Chocolate</option>
							<option value="g">Gray</option>
							<option value="r">Green</option>
							<option value="o">Orange</option>
							<option value="p">Pink</option>
							<option value="u">Purple</option>
							<option value="e">Red</option>
							<option value="w">White</option>
							<option value="y">Yellow</option>
						</select></td>
						<td> Spore Print Color</td>
						<td><select id="attr19" name="data[19]">
							<option value="?">-</option>
                                                        <option value="k">Black</option>
							<option value="n">Brown</option>
							<option value="b">Buff</option>
							<option value="h">Chocolate</option>
							<option value="r">Green</option>
							<option value="o">Orange</option>
							<option value="u">Purple</option>
							<option value="w">White</option>
							<option value="y">Yellow</option>
						</select></td>
					</tr><tr>
						<td> Stalk Shape</td>
						<td><select id="attr9" name="data[9]">
							<option value="?">-</option>
                                                        <option value="e">Enlarging</option>
							<option value="t">Tapering</option>
						</select></td>
						<td> Population</td>
						<td><select id="attr20" name="data[20]">
							<option value="?">-</option>
                                                        <option value="a">Abundant</option>
							<option value="c">Clustered</option>
							<option value="n">Numerous</option>
							<option value="s">Scattered</option>
							<option value="v">Several</option>
							<option value="y">Solitary</option>
						</select></td>
					</tr><tr>
						<td> Stalk Root</td>
						<td><select id="attr10" name="data[10]">
							<option value="?">-</option>
                                                        <option value="b">Bulbous</option>
							<option value="c">Club</option>
							<option value="u">Cup</option>
							<option value="e">Equal</option>
							<option value="z">Rhizomorphs</option>
							<option value="r">Rooted</option>
						</select></td>
						<td> Habitat</td>
						<td><select id="attr21" name="data[21]">
							<option value="?">-</option>
                                                        <option value="g">Grasses</option>
							<option value="l">Leaves</option>
							<option value="m">Meadows</option>
							<option value="p">Paths</option>
							<option value="u">Urban</option>
							<option value="w">Waste</option>
							<option value="d">Woods</option>
						</select></td>
					</tr>
				</table>
			</div>
			<h3>Use data for new learning ?</h3>
                        <input type="radio" name="newlearn" value="yes" checked="true"/> Yes<br />
                        <input type="radio" name="newlearn" value="no" /> No
			<input type="submit" value="Classify" name="Classify" id="Button_Classify"/>
                    </form>
		</div>
	</body>
        <script type="text/javascript">
            load();
        </script>
</html>
